package com.taptech.doufu.bean;

import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import com.google.gson.reflect.TypeToken;

import java.util.List;

/**
 * Created by zhangyongcun on 16/8/11.
 */
public class MsgBean {
    /**
     * day_color : 333333
     * uid : 1326174
     * font : 12
     * night_color : 898989
     * split_text : 郑允黎_1226
     */

    private String day_color;
    private String uid;
    private int font;
    private String night_color;
    private String split_text;


    public static List<MsgBean> getMsgBean (String jsonStr) {
        Gson gson = new GsonBuilder().create();
        return gson.fromJson(jsonStr, new TypeToken<List<MsgBean>>(){}.getType());
    }

    public String getDay_color() {
        return day_color;
    }

    public void setDay_color(String day_color) {
        this.day_color = day_color;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public int getFont() {
        return font;
    }

    public void setFont(int font) {
        this.font = font;
    }

    public String getNight_color() {
        return night_color;
    }

    public void setNight_color(String night_color) {
        this.night_color = night_color;
    }

    public String getSplit_text() {
        return split_text;
    }

    public void setSplit_text(String split_text) {
        this.split_text = split_text;
    }
}
